#ifndef PLUGINSSD_H
#define PLUGINSSD_H

#include "isettings.h"
#include "QObject"
#include <QModelIndex>
#include <QEvent>

class PluginsSD : public QObject, public ISettings
{
	Q_OBJECT
private:
	class PluginsTableEntry;
	class PluginsTableModel;
	class PluginsSDPrivate;
	PluginsSDPrivate *d;
public:
	explicit PluginsSD();
	virtual ~PluginsSD();

	virtual QString category() const;
	virtual QIcon categoryIcon() const;

	virtual QTabWidget* createPages();

	virtual void save();
	virtual void reset();
protected:
	bool eventFilter(QObject *obj, QEvent *event);

private slots:
	void pluginClicked(const QModelIndex &index);
signals:
	void notifyMouseLeave();
};

#endif // PLUGINSSD_H
